class AddFieldsToReport < ActiveRecord::Migration
  def self.up
    add_column :reports, :important, :string
    add_column :reports, :scanner_session_id, :string
    add_column :reports, :scan_started_at, :datetime
    add_column :reports, :is_autoscanned, :boolean
  end

  def self.down
    remove_column :reports, :important
    remove_column :reports, :scanner_session_id
    remove_column :reports, :scan_started_at
    remove_column :reports, :is_autoscanned
  end
end
